package com.neusoft.service.impl;

import com.neusoft.mapper.RegistLevelMapper;
import com.neusoft.service.RegistLevelService;
import com.neusoft.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author akemihomurasama
 */
@Service
public class RegistLevelServiceImpl implements RegistLevelService {
    @Autowired
    private RegistLevelMapper registLevelMapper;


    /**
     * 查询所有挂号级别
     *
     * @return 挂号级别列表
     */
    @Override
    public Result queryAllLevel() {
        return Result.ok(registLevelMapper.queryLevel());
    }
}
